package com.itheima.d4_print_stream;

import java.io.FileNotFoundException;
import java.io.PrintStream;

/*
    目标：掌握打印流：PrintStream/PrintWriter的用法。
 */
public class PrintTest1 {
    public static void main(String[] args) throws FileNotFoundException {
        PrintStream printStream = new PrintStream("ws.txt");
        printStream.println(12);
        printStream.println("sasas");
        printStream.println(223);
        printStream.close();
    }
}
